package mars.io.formatters

trait Formatter[T] {
    def format(obj: T): String

    def fromString(str: String): T

    def validFormat(str: String): Boolean
}